package com.mskj.zxmy.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(description = "业务数据实体类，涵盖物品、出入库数量等信息")
public class ChecklistForTheCheckout {
    // 1. 主键ID
    @Schema(description = "主键ID，唯一标识记录")
    private Integer id;

    // 2. 物品信息，关联数据单选
    @Schema(description = "关联的物品信息，通过关联数据单选获取")
    private Integer productInformation;

    // 3. 申请出库数量
    @Schema(description = "申请出库的数量")
    private BigDecimal numberOfReleases;

    // 4. 出库数量
    @Schema(description = "实际完成的出库数量")
    private Double numberOfReleased;

    // 5. 剩余出库数量，公式：DEFAULTVALUE(申请出库数量...)
    @Schema(description = "剩余可出库的数量，根据公式计算得出")
    private Double numberOfRemainingDeposits;

    // 6. 已出库数量
    @Schema(description = "累计已完成的出库数量")
    private Double numberOfReleased1;

    // 7. 当前库存
    @Schema(description = "物品当前的库存数量")
    private Double numberOfReleases1;

    // 8. 单价
    @Schema(description = "物品的单价金额")
    private Double inventoryUnitPrice;

    // 9. 金额，公式：DEFAULTVALUE(单价, 0)*DEFAULT...
    @Schema(description = "根据公式计算得出的金额")
    private Double numberOfDeposits;

    // 10. 关联申请出库单，关联数据单选
    @Schema(description = "关联的申请出库单标识，通过关联数据单选获取")
    private Integer associatedApplicationList;

    // 11. 关联销售明细id
    @Schema(description = "关联的销售明细记录ID")
    private Integer associatedSalesDetailid;

    // 12. 关联发货通知明细id
    @Schema(description = "关联的发货通知明细记录ID")
    private Integer originalSingled;


    @Schema(description = "前端使用字段：产品编号")
    private String productNumber;
    @Schema(description = "前端使用字段：规格")
    private String productSpecifications;
    @Schema(description = "前端使用字段：产品名称")
    private String productName;
    @Schema(description = "前端使用字段：型号")
    private String typeOfProduct;
    @Schema (description ="前端使用字段：型号")
    private String environmentalProtectionLevel;

    private String brand;
    private String materialCategory;


}
